<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php if(!empty($this->list)){?>
<table border="1" cellspacing="0" cellpadding="15" style="padding:15px;">
	<tr>
		<th colspan = "3">Cycle <?php echo $this->cycle?> (<?php echo $this->dateBegin?> - <?php echo $this->dateEnd?>)</th>
		
	</tr>
		
	<?php foreach ($this->list as $k => $v){?>
			<tr>
				<th colspan = "3"><?php echo $k?></th>
			</tr>
				<?php foreach ($v as $k2 => $v2){?>
					<tr>
						<td><?php echo $v2?></td>
						<td width= "150px"></td>
						<td width= "150px"></td>
					</tr>
				<?php }?>
	<?php }?>
</table>
<?php }else{
	echo "Input no. of cycle into link";
}?>
</body>
</html>